package site.fantasycube.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import site.fantasycube.blog.domain.BlogUser;

/**
 * @author 幻&乐
 * @Date 2021/12/26
 * 描述 用户服务持久层
 */
@Mapper
public interface UserMapper extends BaseMapper<BlogUser> {

    /**
     *描述：保存用户信息并返回自增主键id
     */
    String registration(@Param("user") BlogUser user);
}
